var mangerClass = avalon.define("manger_class", function(vm) {
	vm.mangerclass_panle1_visible = true;
	vm.togglePanel = function(){
		var id = this.getAttribute('data-panel');
		$('#' + id).slideToggle();
		vm[id + "_visible"] = !vm[id + "_visible"];
	}
});

//增加班级对话框
var addclassModal = avalon.define("addclass_modal",function(vm){
	vm.yearDefined = 'byName';
	vm.classDefined = 'byName';
});

//编辑班级对话框
var editclassModal = avalon.define("editclass_modal",function(vm){
	vm.yearDefined = 'byName';
	vm.classDefined = 'byName';
});
avalon.scan();